package com.ruoyi.system.mapper;

import java.util.List;

import com.ruoyi.system.api.domain.SchoolClasses;
import com.ruoyi.system.domain.SchoolClassesTj;

/**
 * 班级信息Mapper接口
 * 
 * @author ruoyi
 * @date 2022-11-19
 */
public interface SchoolClassesMapper 
{
    /**
     * 查询班级信息
     * 
     * @param id 班级信息ID
     * @return 班级信息
     */
    public SchoolClasses selectSchoolClassesById(Long id);

    /**
     * 查询班级信息列表
     * 
     * @param schoolClasses 班级信息
     * @return 班级信息集合
     */
    public List<SchoolClasses> selectSchoolClassesList(SchoolClasses schoolClasses);
    public List<SchoolClassesTj> selectSchoolClassesTjList(SchoolClasses schoolClasses);
    public List<SchoolClassesTj> selectSchoolClassesHasList(SchoolClasses schoolClasses);
    public List<SchoolClassesTj> selectSchoolClassesNoList(SchoolClasses schoolClasses);


    /**
     * 新增班级信息
     * 
     * @param schoolClasses 班级信息
     * @return 结果
     */
    public int insertSchoolClasses(SchoolClasses schoolClasses);

    /**
     * 修改班级信息
     * 
     * @param schoolClasses 班级信息
     * @return 结果
     */
    public int updateSchoolClasses(SchoolClasses schoolClasses);

    /**
     * 删除班级信息
     * 
     * @param id 班级信息ID
     * @return 结果
     */
    public int deleteSchoolClassesById(Long id);

    /**
     * 批量删除班级信息
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteSchoolClassesByIds(Long[] ids);
}
